package com.easy.dev.bo;

public enum ResponseStatus {

    SAVE_SUCCESS(200, "api.response.save.success"),
    DELETE_SUCCESS(200, "api.response.delete.success"),
    SELECT_SUCCESS(200, "api.response.select.success"),
    UPDATE_SUCCESS(200, "api.response.update.success");

    // 返回码
    private int status;

    // 返回信息
    private String msg;

    private ResponseStatus(int status, String msg) {
        this.status = status;
        this.msg = msg;
    }

    public int getStatus() {
        return status;
    }

    public String getMsg() {
        return msg;
    }
}
